//
//  ShelterView.h
//  mcrmSAAS
//
//  Created by yuxiuyi on 15/10/13.
//  Copyright © 2015年 GuangZhouXuanWu. All rights reserved.
//

#import <UIKit/UIKit.h>

// 适配比例
#define kHeightScale ([UIDevice screenHeight]/667.)
#define kWidthScale ([UIDevice screenWidth]/375.)

@class ShelterView;
@protocol ShelterViewDelegate <NSObject>

@optional

-(void)clickedOtherButtonOfshelterView:(ShelterView*)shelterView;

-(void)clickedCancelButtonOfShelterView:(ShelterView*)shelterView;

@end

@interface ShelterView : UIView

- (id)initWithContainView:(UIView *)containView delegate:(id<ShelterViewDelegate>)delegate cancelButtonImageName:(NSString *)cancelButtonImageName otherButtonImageName:(NSString*)otherButtonImageName;

- (id)initWithContainViewWithdelegate:(id<ShelterViewDelegate>)delegate cancelButtonImageName:(NSString *)cancelButtonImageName otherButtonImageName:(NSString*)otherButtonImageName completion:(void(^)(UIView *view))completion;

- (void)show;
@end
